using System;
using SCG.SolarVengeanceEngine;
using SCG.SolarVengeanceEngine.BrainInfo;

namespace SCG.SolarVengeance.Brains {
  public class TinyBoss : Brain {
    public override string Author {
      get { return "Lord Venom (ported by Viltris)"; }
    }

    public override ChallengeLevel Challenge
    {
        get
        {
            return ChallengeLevel.Moderate;
        }
    }

    public override string Description {
      get { return "A very small, but effective, Brain."; }
    }

    public override void Execute() {
      foreach (StarSystemInfo s in StarSystems) {
        SetAutoStarShipType(s, StarShipType.WarShip, 8, 4, false);
        SetAutoStarShip(s, true);
      }

      foreach (StarShipInfo sh in MyStarShips) {
        StarSystemInfo sys = ClosestStarSystem(sh.X, sh.Y, 999, FindSystemFlags.Unfriendly);
        Target(sh, sys);
      }
    }
  }
}
